//封装本地存储存储数据与读取数据方法
export const SET_TOKEN = (token: string) => {
  localStorage.setItem('TOKEN', token);
}

//本地储存获取数据
export const GET_TOKEN = () => {
  return localStorage.getItem('TOKEN');
}

//本地删除储存数据
export const REMOVE_TOKEN = () => {
  localStorage.removeItem('TOKEN');
}